package com.yoyo.itravel.bean;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description 景点评论回复实体类
 *
 * @author HZX
 * @date 2020/5/20 1:31
 */
public class CommentReply implements Serializable {

    private String replyId; // 景点评论回复id
    private String content; // 回复的内容
    private Integer likeNum; // 获得的点赞数
    private Date createTime; // 回复时间

    private String userId; // 评论者id
    private User user; // 评论者对象

    private String sightCommentId; // 回复的评论id
    private SightComment sightComment; // 回复的评论对象

    private String lastReplyId; // 上一条回复id
    private CommentReply sightCommentReply; // 上一条回复对象

    public CommentReply() {
    }

    public CommentReply(String replyId, String content, Integer likeNum, Date createTime, String userId, User user, String sightCommentId, SightComment sightComment, String lastReplyId, CommentReply sightCommentReply) {
        this.replyId = replyId;
        this.content = content;
        this.likeNum = likeNum;
        this.createTime = createTime;
        this.userId = userId;
        this.user = user;
        this.sightCommentId = sightCommentId;
        this.sightComment = sightComment;
        this.lastReplyId = lastReplyId;
        this.sightCommentReply = sightCommentReply;
    }

    public String getReplyId() {
        return replyId;
    }

    public void setReplyId(String replyId) {
        this.replyId = replyId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getLikeNum() {
        return likeNum;
    }

    public void setLikeNum(Integer likeNum) {
        this.likeNum = likeNum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public String getSightCommentId() {
        return sightCommentId;
    }

    public void setSightCommentId(String sightCommentId) {
        this.sightCommentId = sightCommentId;
    }

    public SightComment getSightComment() {
        return sightComment;
    }

    public void setSightComment(SightComment sightComment) {
        this.sightComment = sightComment;
    }

    public String getLastReplyId() {
        return lastReplyId;
    }

    public void setLastReplyId(String lastReplyId) {
        this.lastReplyId = lastReplyId;
    }

    public CommentReply getSightCommentReply() {
        return sightCommentReply;
    }

    public void setSightCommentReply(CommentReply sightCommentReply) {
        this.sightCommentReply = sightCommentReply;
    }

    @Override
    public String toString() {
        return "SightCommentReply{" +
                "replyId='" + replyId + '\'' +
                ", content='" + content + '\'' +
                ", likeNum=" + likeNum +
                ", createTime=" + createTime +
                ", userId='" + userId + '\'' +
                ", user=" + user +
                ", sightCommentId='" + sightCommentId + '\'' +
                ", sightComment=" + sightComment +
                ", lastReplyId='" + lastReplyId + '\'' +
                ", sightCommentReply=" + sightCommentReply +
                '}';
    }
}
